﻿//AcademicPlanner - course registration planning web app.
//Copyright (C) 2009  Boubacar Diallo

//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either version 2
//of the License, or (at your option) any later version.

//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//GNU General Public License for more details.

//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcademicPlanner.Framework.Helpers
{
	/// <summary>
	/// TranslationHelper provides static helper methods for message translation.
	/// </summary>
	/// <version>1.0</version>
	/// <since>1.0</since>
	public static class TranslationHelper
	{
		/// <summary>
		/// Translates a message from the application's source language
		/// to its target language. The target language is retrieved from
		/// the session. When the two are the same, the original message
		/// is returned.
		/// </summary>
		/// <param name="pText">The text to translate.</param>
		/// <param name="pGroup">The group/category of the text.</param>
		/// <returns>The translated message.</returns>
		/// <version>1.0</version>
		/// <since>1.0</since>
		public static string Translate(string pText, string pGroup)
		{
			// TODO: IMPLEMENT TRANSLATION.
			return pText;
		}
	}
}
